<?php if(!defined('PHPOK_SET')){die('<h3>Error...</h3>');}?><?php QG_C_TEMPLATE::p("inc.head","","0");?>
<?php QG_C_TEMPLATE::p("inc.bigad","","0");?>

<div id="bd">
    <div id="home" class="yui-g"> 
        <div class="yui-u first"> 
            <?php QG_C_TEMPLATE::p("inc.picplayer","","0");?>
            
            <div id="md_comingimg" class="indexpdshow">
                <div class="hd"></div>
        		<div class="bd">
        			<ul class="clearfix">
        				<?php $comingimg = QGMOD_COMINGIMG();?>
        					<?php $_i=0;$comingimg=(is_array($comingimg))?$comingimg:array();foreach($comingimg AS  $key=>$value){$_i++; ?>
        					<li><a href="<?php echo $value[url];?>"><img src="<?php echo $value[img];?>" /></a></li>
        					<?php } ?>
                            <?php for($i=$key;$i<3;$i++){ ?>
                            <li class="null"></li>
                            <?php } ?>
        				<?php unset($comingimg);?>
        			</ul>
        		</div>
        		<div class="ft"></div>
            </div>
            <div id="md_hotimg" class="indexpdshow">
                <div class="hd"></div>
        		<div class="bd">
        			<ul class="clearfix">
        				<?php $hotimg = QGMOD_HOTIMG();?>
        					<?php $_i=0;$hotimg=(is_array($hotimg))?$hotimg:array();foreach($hotimg AS  $key=>$value){$_i++; ?>
        					<li><a href="<?php echo $value[url];?>"><img src="<?php echo $value[img];?>" /></a></li>
        					<?php } ?>
                            <?php for($i=$key;$i<3;$i++){ ?>
                            <li class="null"></li>
                            <?php } ?>
        				<?php unset($comingimg);?>
        			</ul>
        		</div>
        		<div class="ft"></div>
            </div>
        </div> 
        <div class="yui-u"> 
            <?php QG_C_TEMPLATE::p("inc.search","","0");?>
            <div id="indexsb">
                <div class="sbhd"></div>
                <div class="sbbd">
                    <div id="md_sbpdshow" class="indexsbbox">
                        <div class="hd">
                            <a href="list.php?id=1"><h3>热门活动</h3></a>
                        </div>
                		<div class="bd">
                		    <ul>
                				<?php $hotimg = QGMOD_INDEXRIGHT();?>
                					<?php $_i=0;$hotimg=(is_array($hotimg))?$hotimg:array();foreach($hotimg AS  $key=>$value){$_i++; ?>
                					<li><a href="<?php echo $value[url];?>"><img src="<?php echo $value[img];?>" /></a></li>
                					<?php } ?>
                				<?php unset($comingimg);?>
                			</ul>
                        </div>
                		<div class="ft"></div>
                    </div>
                    <div id="md_sbnew" class="indexsbbox">
                        <div class="hd">
                            <a href="list.php?id=35"><h3>最新资讯</h3></a>
                        </div>
                		<div class="bd">
                            <?php $msglist = QGMOD_MSGLIST(35,28,"orderdate DESC,id DESC",false,10,false);?>
                    		<ul>
                    			<?php $_i=0;$msglist["list"]=(is_array($msglist["list"]))?$msglist["list"]:array();foreach($msglist["list"] AS  $key=>$value){$_i++; ?>
                    			<li><a href="msg.php?id=<?php echo $value[id];?>" style="<?php echo $value[style];?>" title="<?php echo $value[subject];?>"><?php echo $value[cut_subject];?></a></li>
                    			<?php } ?>
                    		</ul>
                    		<?php unset($msglist);?>
                        </div>
                		<div class="ft"></div>
                    </div>
                    <div id="md_sbblog" class="indexsbbox">
                        <div class="hd">
                            <a href="http://www.enterbay.com/blog"><h3>Blog</h3></a>
                        </div>
                		<div class="bd">
                		    <script language="JavaScript" src="feed2js/feed2js.php?src=http%3A%2F%2Fwww.enterbay.com%2Fblog%2F%3Ffeed%3Drss2&amp;num=6&amp;targ=y&amp;utf=y&amp;css=blogart" type="text/javascript"></script>
                        </div>
                		<div class="ft"></div>
                    </div>
                </div>
                <div class="sbft"></div>
            </div>
        </div> 
    </div> 
</div>

<?php QG_C_TEMPLATE::p("inc.foot","","0");?>